<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页</title>
  <link rel="stylesheet" th:href="@{/statics/css/common.css}" type="text/css">
</head>
<body>
<table>
  <form th:action="@{/userLogin}" method="post">
    <tr>
      <td>用户名:</td>
      <td><input id="name" type="text" name="name"><span id="nameTip"></span></td>
    </tr>
    <tr>
      <td>密码:</td>
      <td><input type="password" name="password"></td>
    </tr>
    <tr>
      <td><input id="submit" type="submit" value="提交"></td>
      <td><input type="reset" value="重置"></td>
    </tr>
  </form>
  <a th:href="@{/to/adminLogin}">切换到管理员登录页</a>
  <br>
  <a th:href="@{/to/userReg}">没有账号？点击注册</a>
</table>
</body>
</html>